<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title></title>
    <%@include file="/common/header.jspf"%>
    <script type="text/javascript" src="${ctx}/resources/js/emergency/common/dictionaryPaths.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/emergency/common/base.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/emergency/plan/base.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/emergency/plan/edit.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<div class="information">
    <form id="submit_form" method="post">
        <input type="hidden" name="id" value="${plan.id}">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_one">
                    <label class="lable-style">选择部门:</label>
                    <input type="text" class="easyui-textbox" value="${plan.deptId}" name="deptId" id="deptId"  style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">预案名称:</label>
                    <input type="text" class="easyui-textbox" value="${plan.name}" name="name"  data-options="required:true" style="width: 240px;" title="">

                </div>
                <div class="form_one">
                    <label class="lable-style">预案定义:</label>
                    <input type="text" class="easyui-textbox" value="${plan.definitionId}" name="definitionId" id="definitionId"  style="width: 240px;"  title="">

                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">预案层级:</label>
                    <input type="text" class="easyui-textbox" value="${plan.hierarchyId}" name="hierarchyId" id="hierarchyId" style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">预案分类:</label>
                    <input type="text" class="easyui-textbox" value="${plan.classificationId}" name="classificationId" id="classificationId" style="width: 240px;"  title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">情景构建:</label>
                    <input type="text" class="easyui-textbox" value="${plan.scenarioConstruction}" name="scenarioConstruction" id="scenarioConstruction" style="width: 240px;"   title="">
                </div>
            </div>
            <div style="clear: both">

                <div class="form_one">
                    <label class="lable-style">预案类型:</label>
                    <input type="text" class="easyui-textbox" value="${plan.typeId}"  id="typeId" style="width: 240px;"  title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">发布日期:</label>
                    <input type="text" class="easyui-datebox" value="${plan.releaseDate}" name="releaseDate"  data-options="editable:false,required:true"  style="width: 240px;">

                </div>

                <div class="form_one">
                    <label class="lable-style">装置/场所:</label>
                    <input type="text" class="easyui-textbox" value="${plan.deviceName}"    id="deviceName"  style="width: 240px;">
                    <input type="hidden"  name="deviceId" value="${plan.deviceId}"  id="deviceId"  >

                </div>
            </div>

        </div>
        <div class="information">
            <div class="information-title">
                <p>相关附件</p>
                <a class="panel-down" href="javascript:void(0)">
                    <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
                </a>
            </div>
            <accessory:accessorySimple permission="write"  packageKey="em_plan" uploadUserId="${loginUser.id}" packageInfos="${accessoryList}"   accessoryType = "txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
        </div>

    </form>

</div>

</body>
</html>
